<?php
$con = mysql_connect("localhost","appma" ,"database");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
echo "<table border=1>";

	mysql_select_db("162_appma", $con);

$result = mysql_query("SELECT * FROM newsletter");

while($row = mysql_fetch_array($result))
  {
echo "
<tr>
<td>
<form action=newsletterdelete.php  method=post>
<input type=hidden value=$row[Email] name=email />$row[Email];
</td>
<td>
<input type=submit  value=Delete /></form>
</td>
</tr>";
  }
echo "</table>";
mysql_close($con);

?>